package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_ProductBasis", catalog="Id")
public class TpProductBasis extends BaseEntity<TpProductBasis> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Img", nameJava="img", typeDataBase="varchar")
	private String img;
	@YsField(nameDataBase="Code", nameJava="code", typeDataBase="varchar")
	private String code;
	@YsField(nameDataBase="CodeHs", nameJava="codeHs", typeDataBase="varchar")
	private String codeHs;
	@YsField(nameDataBase="SizeLength", nameJava="sizeLength", typeDataBase="decimal")
	private BigDecimal sizeLength;
	@YsField(nameDataBase="SizeWidth", nameJava="sizeWidth", typeDataBase="decimal")
	private BigDecimal sizeWidth;
	@YsField(nameDataBase="SizeHeight", nameJava="sizeHeight", typeDataBase="decimal")
	private BigDecimal sizeHeight;
	@YsField(nameDataBase="SizeWeight", nameJava="sizeWeight", typeDataBase="decimal")
	private BigDecimal sizeWeight;
	@YsField(nameDataBase="PriceIn", nameJava="priceIn", typeDataBase="decimal")
	private BigDecimal priceIn;
	@YsField(nameDataBase="PriceService", nameJava="priceService", typeDataBase="decimal")
	private BigDecimal priceService;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="Combination", nameJava="combination", typeDataBase="varchar")
	private String combination;
	@YsField(nameDataBase="LinkIn", nameJava="linkIn", typeDataBase="varchar")
	private String linkIn;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="FjySj", nameJava="fjySj", typeDataBase="decimal")
	private BigDecimal fjySj;
	@YsField(nameDataBase="FwlYgFy", nameJava="fwlYgFy", typeDataBase="decimal")
	private BigDecimal fwlYgFy;
	@YsField(nameDataBase="FygFy", nameJava="fygFy", typeDataBase="decimal")
	private BigDecimal fygFy;
	@YsField(nameDataBase="Fyjb", nameJava="fyjb", typeDataBase="decimal")
	private BigDecimal fyjb;
	@YsField(nameDataBase="FcbK", nameJava="fcbK", typeDataBase="decimal")
	private BigDecimal fcbK;
	@YsField(nameDataBase="FcbH", nameJava="fcbH", typeDataBase="decimal")
	private BigDecimal fcbH;
	@YsField(nameDataBase="FmllK", nameJava="fmllK", typeDataBase="decimal")
	private BigDecimal fmllK;
	@YsField(nameDataBase="FmllH", nameJava="fmllH", typeDataBase="decimal")
	private BigDecimal fmllH;
	@YsField(nameDataBase="FtcbK", nameJava="ftcbK", typeDataBase="decimal")
	private BigDecimal ftcbK;
	@YsField(nameDataBase="FtcbH", nameJava="ftcbH", typeDataBase="decimal")
	private BigDecimal ftcbH;
	@YsField(nameDataBase="AsinJp", nameJava="asinJp", typeDataBase="varchar")
	private String asinJp;
	@YsField(nameDataBase="LinkJp", nameJava="linkJp", typeDataBase="varchar")
	private String linkJp;
	@YsField(nameDataBase="TitleJp", nameJava="titleJp", typeDataBase="varchar")
	private String titleJp;
	@YsField(nameDataBase="PriceJp", nameJava="priceJp", typeDataBase="decimal")
	private BigDecimal priceJp;
	@YsField(nameDataBase="ScoreJp", nameJava="scoreJp", typeDataBase="decimal")
	private BigDecimal scoreJp;
	@YsField(nameDataBase="RatingJp", nameJava="ratingJp", typeDataBase="int")
	private Integer ratingJp;
	@YsField(nameDataBase="DayOnJp", nameJava="dayOnJp", typeDataBase="varchar")
	private String dayOnJp;
	@YsField(nameDataBase="RankOneJp", nameJava="rankOneJp", typeDataBase="int")
	private Integer rankOneJp;
	@YsField(nameDataBase="DispatchesJp", nameJava="dispatchesJp", typeDataBase="varchar")
	private String dispatchesJp;
	@YsField(nameDataBase="SolderJp", nameJava="solderJp", typeDataBase="varchar")
	private String solderJp;
	@YsField(nameDataBase="RemarkJp", nameJava="remarkJp", typeDataBase="varchar")
	private String remarkJp;
	@YsField(nameDataBase="CodeMerge", nameJava="codeMerge", typeDataBase="varchar")
	private String codeMerge;
	@YsField(nameDataBase="VsfJp", nameJava="vsfJp", typeDataBase="varchar")
	private String vsfJp;
	@YsField(nameDataBase="IsSuperior", nameJava="isSuperior", typeDataBase="varchar")
	private String isSuperior;
	@YsField(nameDataBase="IsUsable", nameJava="isUsable", typeDataBase="varchar")
	private String isUsable;
	@YsField(nameDataBase="Img2", nameJava="img2", typeDataBase="varchar")
	private String img2;
	@YsField(nameDataBase="CommodityLmId", nameJava="commodityLmId", typeDataBase="bigint")
	private Long commodityLmId;
	@YsField(nameDataBase="CateOneJPId", nameJava="cateOneJPId", typeDataBase="bigint")
	private Long cateOneJPId;
	@YsField(nameDataBase="VgsBm", nameJava="vgsBm", typeDataBase="varchar")
	private String vgsBm;
	@YsField(nameDataBase="CommodityProperty", nameJava="commodityProperty", typeDataBase="varchar")
	private String commodityProperty;
	@YsField(nameDataBase="CommodityRemark", nameJava="commodityRemark", typeDataBase="varchar")
	private String commodityRemark;
	@YsField(nameDataBase="Img1", nameJava="img1", typeDataBase="varchar")
	private String img1;
	@YsField(nameDataBase="CreateChangeId", nameJava="createChangeId", typeDataBase="varchar")
	private String createChangeId;
	@YsField(nameDataBase="CommodityPlId", nameJava="commodityPlId", typeDataBase="bigint")
	private Long commodityPlId;
	@YsField(nameDataBase="NameUnitId", nameJava="nameUnitId", typeDataBase="bigint")
	private Long nameUnitId;
	@YsField(nameDataBase="NameId", nameJava="nameId", typeDataBase="bigint")
	private Long nameId;
	@YsField(nameDataBase="UsageId", nameJava="usageId", typeDataBase="bigint")
	private Long usageId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpProductBasis setId(Long id) {
		this.id = id;
		return this;
	}
	public String getImg() {
		return img;
	}
	public TpProductBasis setImg(String img) {
		this.img = img;
		return this;
	}
	public String getCode() {
		return code;
	}
	public TpProductBasis setCode(String code) {
		this.code = code;
		return this;
	}
	public String getCodeHs() {
		return codeHs;
	}
	public TpProductBasis setCodeHs(String codeHs) {
		this.codeHs = codeHs;
		return this;
	}
	public BigDecimal getSizeLength() {
		return sizeLength;
	}
	public TpProductBasis setSizeLength(BigDecimal sizeLength) {
		this.sizeLength = sizeLength;
		return this;
	}
	public BigDecimal getSizeWidth() {
		return sizeWidth;
	}
	public TpProductBasis setSizeWidth(BigDecimal sizeWidth) {
		this.sizeWidth = sizeWidth;
		return this;
	}
	public BigDecimal getSizeHeight() {
		return sizeHeight;
	}
	public TpProductBasis setSizeHeight(BigDecimal sizeHeight) {
		this.sizeHeight = sizeHeight;
		return this;
	}
	public BigDecimal getSizeWeight() {
		return sizeWeight;
	}
	public TpProductBasis setSizeWeight(BigDecimal sizeWeight) {
		this.sizeWeight = sizeWeight;
		return this;
	}
	public BigDecimal getPriceIn() {
		return priceIn;
	}
	public TpProductBasis setPriceIn(BigDecimal priceIn) {
		this.priceIn = priceIn;
		return this;
	}
	public BigDecimal getPriceService() {
		return priceService;
	}
	public TpProductBasis setPriceService(BigDecimal priceService) {
		this.priceService = priceService;
		return this;
	}
	public String getName() {
		return name;
	}
	public TpProductBasis setName(String name) {
		this.name = name;
		return this;
	}
	public String getCombination() {
		return combination;
	}
	public TpProductBasis setCombination(String combination) {
		this.combination = combination;
		return this;
	}
	public String getLinkIn() {
		return linkIn;
	}
	public TpProductBasis setLinkIn(String linkIn) {
		this.linkIn = linkIn;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TpProductBasis setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public BigDecimal getFjySj() {
		return fjySj;
	}
	public TpProductBasis setFjySj(BigDecimal fjySj) {
		this.fjySj = fjySj;
		return this;
	}
	public BigDecimal getFwlYgFy() {
		return fwlYgFy;
	}
	public TpProductBasis setFwlYgFy(BigDecimal fwlYgFy) {
		this.fwlYgFy = fwlYgFy;
		return this;
	}
	public BigDecimal getFygFy() {
		return fygFy;
	}
	public TpProductBasis setFygFy(BigDecimal fygFy) {
		this.fygFy = fygFy;
		return this;
	}
	public BigDecimal getFyjb() {
		return fyjb;
	}
	public TpProductBasis setFyjb(BigDecimal fyjb) {
		this.fyjb = fyjb;
		return this;
	}
	public BigDecimal getFcbK() {
		return fcbK;
	}
	public TpProductBasis setFcbK(BigDecimal fcbK) {
		this.fcbK = fcbK;
		return this;
	}
	public BigDecimal getFcbH() {
		return fcbH;
	}
	public TpProductBasis setFcbH(BigDecimal fcbH) {
		this.fcbH = fcbH;
		return this;
	}
	public BigDecimal getFmllK() {
		return fmllK;
	}
	public TpProductBasis setFmllK(BigDecimal fmllK) {
		this.fmllK = fmllK;
		return this;
	}
	public BigDecimal getFmllH() {
		return fmllH;
	}
	public TpProductBasis setFmllH(BigDecimal fmllH) {
		this.fmllH = fmllH;
		return this;
	}
	public BigDecimal getFtcbK() {
		return ftcbK;
	}
	public TpProductBasis setFtcbK(BigDecimal ftcbK) {
		this.ftcbK = ftcbK;
		return this;
	}
	public BigDecimal getFtcbH() {
		return ftcbH;
	}
	public TpProductBasis setFtcbH(BigDecimal ftcbH) {
		this.ftcbH = ftcbH;
		return this;
	}
	public String getAsinJp() {
		return asinJp;
	}
	public TpProductBasis setAsinJp(String asinJp) {
		this.asinJp = asinJp;
		return this;
	}
	public String getLinkJp() {
		return linkJp;
	}
	public TpProductBasis setLinkJp(String linkJp) {
		this.linkJp = linkJp;
		return this;
	}
	public String getTitleJp() {
		return titleJp;
	}
	public TpProductBasis setTitleJp(String titleJp) {
		this.titleJp = titleJp;
		return this;
	}
	public BigDecimal getPriceJp() {
		return priceJp;
	}
	public TpProductBasis setPriceJp(BigDecimal priceJp) {
		this.priceJp = priceJp;
		return this;
	}
	public BigDecimal getScoreJp() {
		return scoreJp;
	}
	public TpProductBasis setScoreJp(BigDecimal scoreJp) {
		this.scoreJp = scoreJp;
		return this;
	}
	public Integer getRatingJp() {
		return ratingJp;
	}
	public TpProductBasis setRatingJp(Integer ratingJp) {
		this.ratingJp = ratingJp;
		return this;
	}
	public String getDayOnJp() {
		return dayOnJp;
	}
	public TpProductBasis setDayOnJp(String dayOnJp) {
		this.dayOnJp = dayOnJp;
		return this;
	}
	public Integer getRankOneJp() {
		return rankOneJp;
	}
	public TpProductBasis setRankOneJp(Integer rankOneJp) {
		this.rankOneJp = rankOneJp;
		return this;
	}
	public String getDispatchesJp() {
		return dispatchesJp;
	}
	public TpProductBasis setDispatchesJp(String dispatchesJp) {
		this.dispatchesJp = dispatchesJp;
		return this;
	}
	public String getSolderJp() {
		return solderJp;
	}
	public TpProductBasis setSolderJp(String solderJp) {
		this.solderJp = solderJp;
		return this;
	}
	public String getRemarkJp() {
		return remarkJp;
	}
	public TpProductBasis setRemarkJp(String remarkJp) {
		this.remarkJp = remarkJp;
		return this;
	}
	public String getCodeMerge() {
		return codeMerge;
	}
	public TpProductBasis setCodeMerge(String codeMerge) {
		this.codeMerge = codeMerge;
		return this;
	}
	public String getVsfJp() {
		return vsfJp;
	}
	public TpProductBasis setVsfJp(String vsfJp) {
		this.vsfJp = vsfJp;
		return this;
	}
	public String getIsSuperior() {
		return isSuperior;
	}
	public TpProductBasis setIsSuperior(String isSuperior) {
		this.isSuperior = isSuperior;
		return this;
	}
	public String getIsUsable() {
		return isUsable;
	}
	public TpProductBasis setIsUsable(String isUsable) {
		this.isUsable = isUsable;
		return this;
	}
	public String getImg2() {
		return img2;
	}
	public TpProductBasis setImg2(String img2) {
		this.img2 = img2;
		return this;
	}
	public Long getCommodityLmId() {
		return commodityLmId;
	}
	public TpProductBasis setCommodityLmId(Long commodityLmId) {
		this.commodityLmId = commodityLmId;
		return this;
	}
	public Long getCateOneJPId() {
		return cateOneJPId;
	}
	public TpProductBasis setCateOneJPId(Long cateOneJPId) {
		this.cateOneJPId = cateOneJPId;
		return this;
	}
	public String getVgsBm() {
		return vgsBm;
	}
	public TpProductBasis setVgsBm(String vgsBm) {
		this.vgsBm = vgsBm;
		return this;
	}
	public String getCommodityProperty() {
		return commodityProperty;
	}
	public TpProductBasis setCommodityProperty(String commodityProperty) {
		this.commodityProperty = commodityProperty;
		return this;
	}
	public String getCommodityRemark() {
		return commodityRemark;
	}
	public TpProductBasis setCommodityRemark(String commodityRemark) {
		this.commodityRemark = commodityRemark;
		return this;
	}
	public String getImg1() {
		return img1;
	}
	public TpProductBasis setImg1(String img1) {
		this.img1 = img1;
		return this;
	}
	public String getCreateChangeId() {
		return createChangeId;
	}
	public TpProductBasis setCreateChangeId(String createChangeId) {
		this.createChangeId = createChangeId;
		return this;
	}
	public Long getCommodityPlId() {
		return commodityPlId;
	}
	public TpProductBasis setCommodityPlId(Long commodityPlId) {
		this.commodityPlId = commodityPlId;
		return this;
	}
	public Long getNameUnitId() {
		return nameUnitId;
	}
	public TpProductBasis setNameUnitId(Long nameUnitId) {
		this.nameUnitId = nameUnitId;
		return this;
	}
	public Long getNameId() {
		return nameId;
	}
	public TpProductBasis setNameId(Long nameId) {
		this.nameId = nameId;
		return this;
	}
	public Long getUsageId() {
		return usageId;
	}
	public TpProductBasis setUsageId(Long usageId) {
		this.usageId = usageId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpProductBasis setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpProductBasis setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpProductBasis setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpProductBasis tpProductBasis(
		String img,
		String code,
		String codeHs,
		BigDecimal sizeLength,
		BigDecimal sizeWidth,
		BigDecimal sizeHeight,
		BigDecimal sizeWeight,
		BigDecimal priceIn,
		BigDecimal priceService,
		String name,
		String combination,
		String linkIn,
		String remark,
		BigDecimal fjySj,
		BigDecimal fwlYgFy,
		BigDecimal fygFy,
		BigDecimal fyjb,
		BigDecimal fcbK,
		BigDecimal fcbH,
		BigDecimal fmllK,
		BigDecimal fmllH,
		BigDecimal ftcbK,
		BigDecimal ftcbH,
		String asinJp,
		String linkJp,
		String titleJp,
		BigDecimal priceJp,
		BigDecimal scoreJp,
		Integer ratingJp,
		String dayOnJp,
		Integer rankOneJp,
		String dispatchesJp,
		String solderJp,
		String remarkJp,
		String codeMerge,
		String vsfJp,
		String isSuperior,
		String isUsable,
		String img2,
		Long commodityLmId,
		Long cateOneJPId,
		String vgsBm,
		String commodityProperty,
		String commodityRemark,
		String img1,
		String createChangeId,
		Long commodityPlId,
		Long nameUnitId,
		Long nameId,
		Long usageId,
		Long materialId,
		Integer status
			) {
		TpProductBasis entity = new TpProductBasis();
		entity.setImg(img);
		entity.setCode(code);
		entity.setCodeHs(codeHs);
		entity.setSizeLength(sizeLength);
		entity.setSizeWidth(sizeWidth);
		entity.setSizeHeight(sizeHeight);
		entity.setSizeWeight(sizeWeight);
		entity.setPriceIn(priceIn);
		entity.setPriceService(priceService);
		entity.setName(name);
		entity.setCombination(combination);
		entity.setLinkIn(linkIn);
		entity.setRemark(remark);
		entity.setFjySj(fjySj);
		entity.setFwlYgFy(fwlYgFy);
		entity.setFygFy(fygFy);
		entity.setFyjb(fyjb);
		entity.setFcbK(fcbK);
		entity.setFcbH(fcbH);
		entity.setFmllK(fmllK);
		entity.setFmllH(fmllH);
		entity.setFtcbK(ftcbK);
		entity.setFtcbH(ftcbH);
		entity.setAsinJp(asinJp);
		entity.setLinkJp(linkJp);
		entity.setTitleJp(titleJp);
		entity.setPriceJp(priceJp);
		entity.setScoreJp(scoreJp);
		entity.setRatingJp(ratingJp);
		entity.setDayOnJp(dayOnJp);
		entity.setRankOneJp(rankOneJp);
		entity.setDispatchesJp(dispatchesJp);
		entity.setSolderJp(solderJp);
		entity.setRemarkJp(remarkJp);
		entity.setCodeMerge(codeMerge);
		entity.setVsfJp(vsfJp);
		entity.setIsSuperior(isSuperior);
		entity.setIsUsable(isUsable);
		entity.setImg2(img2);
		entity.setCommodityLmId(commodityLmId);
		entity.setCateOneJPId(cateOneJPId);
		entity.setVgsBm(vgsBm);
		entity.setCommodityProperty(commodityProperty);
		entity.setCommodityRemark(commodityRemark);
		entity.setImg1(img1);
		entity.setCreateChangeId(createChangeId);
		entity.setCommodityPlId(commodityPlId);
		entity.setNameUnitId(nameUnitId);
		entity.setNameId(nameId);
		entity.setUsageId(usageId);
		entity.setStatus(status);
		return entity;
	}
}